package com.jiantong.work.impl.dao;

import com.google.common.collect.Maps;
import com.jiantong.work.model.PollutionControl;
import com.jiantong.work.model.PurchaseRecord;
import io.terminus.common.model.Paging;
import io.terminus.common.mysql.dao.MyBatisDao;
import org.springframework.stereotype.Repository;

import java.util.Collections;
import java.util.List;
import java.util.Map;

/**
 * Created by maowenjie on 2017/3/20.
 */
@Repository
public class PurchaseRecordDao extends MyBatisDao<PurchaseRecord> {
    /**
     *
     * @param id 主 键
     * @return 状态
     */
    public Integer findStatusById(Long id){
        return getSqlSession().selectOne(sqlId("findStatusById"),id);
    }

}
